package Set;

public class SetTest {
    public static void main(String[] args) {
        int nums[] = {2,3,4,4,5,7,5,2};
        Set<Integer> set = new BSTSet<Integer>();
        for(int num : nums){
            set.add(num);
        }
        System.out.println(set.getSize());
        System.out.println(set.isEmpty());
        System.out.println(set.contains(2));
        set.remove(2);
        set.remove(2);
        System.out.println(set.contains(2));
        System.out.println(set.getSize());

    }
}
